package com.gitee.kenewstar.migration.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.kenewstar.migration.constants.Const;
import com.gitee.kenewstar.migration.core.MigrationCode;
import com.gitee.kenewstar.migration.core.MigrationTenantId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author kenewstar
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value = "hpfm_lov_view_header", schema = Const.HZERO_PLATFORM)
public class LovViewHeader extends CommonDto {

    @TableId(type = IdType.AUTO)
    private Long viewHeaderId;
    @MigrationCode
    @ExcelProperty("值集编码")
    private String viewCode;
    private String viewName;
    private Long lovId;
    @MigrationTenantId
    @ExcelProperty("租户ID")
    private Long tenantId;
    private String valueField;
    private String displayField;
    private String title;
    private Integer width;
    private Integer height;
    private Integer pageSize;
    private Integer delayLoadFlag;
    private String childrenFieldName;
    private Integer enabledFlag;

}
